#ifndef _DSWLOCALTRANSSVR_H
#define _DSWLOCALTRANSSVR_H

#include "tcpserverbase.h"
#include <libtcpcombase/dswlocaltranssession.h>

class CDswlocaltranssvr : public CTcpserverbase
{
public:
	CDswlocaltranssvr(LPST_ENV_T pEnv, int nPort);
	virtual ~CDswlocaltranssvr();
private:
	virtual void OnAccept(evutil_socket_t fd, struct sockaddr *address, int socklen);
};

#endif

